<%@ page language="java" pageEncoding="utf-8" %>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<title>导出定义管理</title>
	<%@ include file="/WEB-INF/taglib.jsp" %>
	<%@ include file="/WEB-INF/jsp/loading.jsp" %>
	<%@ include file="/WEB-INF/jsp/include.jsp" %>
	<script type="text/javascript">
        var path = "<%=path%>";
	</script>
</head>

<body style="margin:0px; padding:0px;">
<div class="easyui-layout" fit="true">
	<div id="AddDlgDiv" align="center" style="margin:5px; padding:5px;">
		<form id="fsql_form" method="post">
			<div id="divNorth" region="north" title="excel定义信息" border="true" noheader="false"
				 style="padding: 5px; height: 280px; background: none repeat scroll 0 0 #EFEFEF;">
				<table class="f_table" cellspacing="1">
					<tr>
						<td align="right" class="s_bg" style="width:80px;">分区序号：</td>
						<td align="left" style="width:210px;">
							<input type="text" id="zoneNo" name="zoneNo" style="width: 200px;" class="easyui-validatebox"
								   data-options="required:true,validType:'length[0,20]'"/>
						</td>
						<td align="right" class="s_bg" style="width:80px;">数据类型：</td>
						<td align="left" style="width: 210px;">
							<select id="dataType" name="dataType" style="width: 204px;">
								<%--<option value="">--请选择--</option>--%>
								<option value="1">标题</option>
								<option value="2">抬头</option>
								<option value="3">表头</option>
								<option value="4">数据</option>
							</select>
						</td>
					</tr>
					<tr>
						<td align="right" class="s_bg" >取数模式：</td>
						<td align="left" style="" colspan="3">
							<select id="fetchType" name="fetchType" style="width: 502px;">
								<%--<option value="">--请选择--</option>--%>
								<option value="1">固定取数</option>
								<option value="2">固定行取数</option>
								<option value="3">新增行取数</option>
							</select>
						</td>
					</tr>
					<tr>
						<td align="right" class="s_bg" >取数SQL：</td>
						<td align="left" style="" colspan="3">
							<textarea rows="10" required="true" cols="" name="fetchSql" id="fetchSql" maxlength="200"  style="border:1px #CED9DF solid; width:498px;resize: none;height: 100px" class="easyui-validatebox" data-options="validType:'length[0,200]',tipPosition:'left'"></textarea>
						</td>
					</tr>
					<tr>
						<td align="right" class="s_bg" >备注：</td>
						<td align="left" style="" colspan="3">
							<textarea rows="10" cols="" name="remark" id="remark" maxlength="200"  style="border:1px #CED9DF solid; width:498px;resize: none;height: 80px" class="easyui-validatebox" data-options="validType:'length[0,200]',tipPosition:'left'"></textarea>
						</td>
					</tr>
				</table>
				<input type="hidden" id="userId" name="userId" value=""/>
			</div>
		</form>

		<div align="center" style="margin-top: 15px;">
			<a href="javascript:void(0)" class="easyui-linkbutton" style="width: 75px" iconcls="icon-ok" onclick="submit_Add()">确定</a>
			<a href="javascript:void(0)" class="easyui-linkbutton" style="width: 75px" iconcls="icon-cancel" onclick="closeLayer();">取消</a>
		</div>
	</div>
</div>
</div>
</body>
<script type="text/javascript" src="<%=path%>/resource/js/system/exportdefine/addfsql.js?time=<%=Math.random()%>"></script>

</html>